import request from '@/config/request.js';

// 获取分拣列表
export const getSortList = (params) => request.post('/api/outboundSorting/list',params)

// 获取物料信息
export const getMaterialDetail = (params) => request.post('/api/outboundSorting/list', params)

// 分拣提交
export const submitSort = (params) => request.post('/api/outboundSorting/submit', params)

// 查询分拣列表
export const getSortListAPI = (params) => request.get(`/api/outboundSorting/sortingTask/${params}`)

// 确认分拣
export const confirmSortAPI = (params) => request.put(`/api/outboundSorting/sorting/${params}`)

// 分拣异常
export const confirmExceptionAPI = (params) => request.post('/api/outboundSorting/sortingAbnormal', params)

// 满箱操作
export const changeContainerAPI = (params) => request.post(`/api/outboundSorting/changeContainer/${params}`)

// 重新亮灯
export const reLightAPI = (params) => request.post('/api/outboundSorting/reIssuedLight')